package com.fxp.project.jiuselu.web.business.v1.request.cart;

import com.fxp.project.jiuselu.web.base.request.ReqBase;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ReqCartUpdate extends ReqBase {

    /**
     * 修改当前的购物车
     */
    @NotNull(message = "购物车id不能为空")
    private Long id;

    /**
     * 修改当前的购物车产品数量
     */
    @NotNull(message = "数量不能为空")
    private Integer goodsNum;
}
